var BASE_URL = "http://localhost:8080/GB_ExperimentalT";
var MAP_IDKEY = "idKey";
var MAP_TABLE = "tableName";

var ROLE_CONTROLLER = {
		CHECKLOGIN : BASE_URL + "/checkLogin",
		SUPERADMIN : {
			URL : BASE_URL + "/SuperAdmin_",
		},
		TEACHER : {
			URL : BASE_URL + "/Teacher_",
		},
		STUDENT : {
			URL : BASE_URL + "/Student_",
		}
}

var initRoleController = function(){
	for(i in ROLE_CONTROLLER){
		ROLE_CONTROLLER[i].LOGIN_URL = ROLE_CONTROLLER[i].URL + "login"; 
	}
}

initRoleController();
